package com.hrt.datasender.dataschedule;

import com.btcode.schedule.SingleInstanceJob;
import com.hrt.datasender.web.bdplccontrol.BdPlcControlService;
import org.quartz.JobExecutionContext;



public class PlcAlarmScheduler extends SingleInstanceJob {

    @Override
    public void initJob(JobExecutionContext arg0) {

    }

    @Override
    public void myExecute(JobExecutionContext arg0) {
        /**
         * 创建PLC数据报警
         */
        BdPlcControlService.getInstance().createPlcAlarm();
    }
}
